home *** CD-ROM | disk | FTP | other *** search
/ IRIX Installation Tools & Overlays 2002 November / SGI IRIX Installation Tools & Overlays 2002 November - Disc 1.iso / dist / roboinst.idb / usr / share / src / RoboInst / new62 / mrconfig.z / mrconfig
Text File  |  2002-10-15  |  4KB  |  107 lines

  1. # New to RoboInst 1.1 and the 6.5.2 miniroot (installation tools) is the
  2. #  ability to install older OS versions.
  3. # This is an example of clean installing an IRIX 6.2 system.
  4. # A selections file based upon an existing system would probably be
  5. #  a better choice in the long run.
  6. # NOTE that it is mandatory to install the latest XFS patch (patch 3289
  7. #  "XFS rollup #14 for IRIX 6.2" or successor) and its prereq patches
  8. #  during the RoboInst session, or the kernel will not be able to mount
  9. #  the root filesystem!
  10. # You must also install roboinst.sw.client (v1.1 or later) last for a
  11. #  recent sash so that the system is bootable.
  12.  
  13. version 1
  14.  
  15. # logs to an IP address, not a hostname
  16. loghost  10.62.51.110
  17.  
  18. # pretty safe (for other partitions), if the partitions are good sizes.
  19. # this doesn't change disk partitioning, but does create a new filesystem.
  20. partition systemdisk preserve xfs /
  21.  
  22. preinst echo "poor man's nameservice: appending to miniroot hosts file..."
  23. preinst echo '10.26.80.118 dist.my.domain dist' >> /etc/hosts 2>/dev/null
  24. preinst echo '10.62.51.110 server.my.domain server' >> /etc/hosts 2>/dev/null
  25.  
  26. # Uncommenting the onerror line below causes inst to stop
  27. # if there are any installation conflicts, and wait for
  28. # you to manually make corrections.
  29. #onerror wait
  30.  
  31. # this installs a "small" (close to minimum) workable desktop system
  32. setenv BASE dist:/os/irix
  33. inst from $BASE/irix-6.2-part-1-of-2
  34. inst keep *
  35. inst install required
  36. inst install eoe.*.gifts_perl* eoe.sw.termbase eoe.sw.usrshare
  37. # note that eoe.sw.xfs is tagged "default", but not "required",
  38. #  but is essential for the system to boot!
  39. inst install eoe.*.nds compiler_eoe.sw32.lib eoe.sw.xfs eoe.sw.xlv
  40. inst install default desktop_base x_eoe motif_eoe
  41. inst keep *.books
  42. inst install applicablepatches
  43. inst install prereqs
  44. inst go
  45. inst open $BASE/irix-6.2-part-2-of-2
  46. inst keep *
  47. inst install required
  48. inst install default desktop_eoe 4Dwm
  49. inst keep *.books
  50. inst install applicablepatches
  51. inst install prereqs
  52. inst go
  53. inst open $BASE/irix-6.2-apps-august-1997
  54. inst keep *
  55. inst install default netscape
  56. inst keep *.books
  57. inst install applicablepatches
  58. inst install prereqs
  59. inst go
  60. inst open $BASE/onc3-nfs-6.2
  61. inst keep *
  62. inst install default nfs onc3_eoe
  63. inst keep *.books
  64. inst install prereqs
  65. inst go
  66. # patch 3289 is the critical patch with the XFS fix to allow mounting
  67. #  the filesystem created by the miniroot
  68. inst from $BASE/patches/patch3289/dist
  69. # this is a required prereq patch for 3289, or the kernel won't link
  70. inst open $BASE/patches/patch3252/dist
  71. # the patchsets are optional, and can be installed later (live)
  72. #inst open $BASE/patchsets/25
  73. #inst open $BASE/patchsets/43
  74. inst install applicablepatches
  75. inst go
  76. inst from $BASE/misc/roboinst
  77. # you must install roboinst last to get a sash for a bootable system
  78. inst install default roboinst
  79. inst go
  80. inst set rqs_task rqsread
  81.  
  82. # minimum configure
  83. # can't use the perl-based post configure since the perl supplied with
  84. #  6.2 is too old.
  85. postinst echo "starting trivial post configuration"
  86. postinst echo 'host1.my.domain' > /root/etc/sys_id
  87. postinst grep -v host1 /root/etc/hosts > /root/etc/hosts-N
  88. postinst echo '10.62.51.133    host1.my.domain host1' >> /root/etc/hosts-N
  89. postinst mv /root/etc/hosts-N /root/etc/hosts
  90. postinst if ! test -f /root/etc/resolv.conf; then
  91. postinst    echo "domain my.domain" > /root/etc/resolv.conf
  92. postinst    echo "nameserver 10.62.51.3" >> /root/etc/resolv.conf
  93. postinst    echo "nameserver 10.62.51.2" >> /root/etc/resolv.conf
  94. postinst fi
  95. postinst echo "my.domain" > /root/var/yp/ypdomain
  96. postinst if ! test -f /root/etc/config/ifconfig-1.options; then
  97. postinst    echo 'netmask 0xffffff00' > /root/etc/config/ifconfig-1.options
  98. postinst fi
  99. postinst chroot /root /etc/chkconfig -f network on
  100. postinst chroot /root /etc/chkconfig -f autoconfig_ipaddress off
  101. postinst chroot /root /etc/chkconfig -f firsttimeprograms off
  102. postinst chroot /root /etc/chkconfig -f yp on
  103. #
  104. # This is a minimal set of selections and patchsets appropriate for an
  105. # Indy or other desktop system. Other patches, patchsets and selections
  106. # would be needed for Challenge and Onyx.
  107.